$OpenBSD: patch-config,v 1.3 2012/07/10 15:22:45 jasper Exp $
--- config.orig	Mon Apr 18 20:10:20 2011
+++ config	Mon Apr 18 20:11:05 2011
@@ -1,23 +1,23 @@
 # Installation directories
 # System's libraries directory (where binary libraries are installed)
-LUA_LIBDIR= /usr/local/lib/lua/5.0
+LUA_LIBDIR= ${MODLUA_LIBDIR}
 # Lua includes directory
-LUA_INC= /usr/local/include
+LUA_INC= ${MODLUA_INCL_DIR}
 
 # OS dependent
 LIB_OPTION= -shared #for Linux
 #LIB_OPTION= -bundle -undefined dynamic_lookup #for MacOS X
 
 # Lua version number (first and second digits of target version)
-LUA_VERSION_NUM= 500
-LIBNAME= $T.so.$V
+LUA_VERSION_NUM= 510
+LIBNAME= crypto.so
 COMPAT_DIR= ../compat/src
 
-OPENSSL_LIBS= -L/usr/local/openssl/lib -lcrypto -lssl
-OPENSSL_INCS= -I/usr/local/openssl/include
+OPENSSL_LIBS= -lcrypto -lssl
+OPENSSL_INCS= -I/usr/include/openssl
 
 # Compilation directives
-WARN= -O2 -Wall -fPIC -W -Waggregate-return -Wcast-align -Wmissing-prototypes -Wnested-externs -Wshadow -Wwrite-strings
-INCS= -I$(LUA_INC) -I$(COMPAT_DIR)
-CFLAGS= $(WARN) $(OPENSSL_INCS) $(INCS)
-CC= gcc
+#WARN= -O2 -Wall -fPIC -W -Waggregate-return -Wcast-align -Wmissing-prototypes -Wnested-externs -Wshadow -Wwrite-strings
+INCS= -I$(LUA_INC)
+CFLAGS+= -Wall $(INCS)
+#CC= gcc
